package com.im.business.history.api;

import com.im.business.history.domain.MessageHistoryVO;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Created leijun
 * @Date 2021/11/2 8:56 上午
 */
public interface HistoryMessageApi {

    @RequestMapping("history/singleMessage")
    List<MessageHistoryVO> selectSingleHistoryMessage(Long senderId, Long receiverId, Long maxOffset);

    @RequestMapping("history/groupMessage")
    List<MessageHistoryVO> selectGroupHistoryMessage(Long groupId, Long maxOffset);
}
